<template>
  <audio-player
    :option="{
      src: props?.src || '',
      title: props?.title || '',
      coverImage: props?.coverImage || '',
    }"
  />
</template>

<script setup>
import AudioPlayer from "vue3-audio-player";
import "vue3-audio-player/dist/style.css";

const props = defineProps({
  src: {
    type: String,
    default: "",
  },
  title: {
    type: String,
    default: "",
  },
  coverImage: {
    type: String,
    default: "",
  },
});
</script>

<style lang="scss" scoped></style>
